import request from '@/router/axios';

export const confirm = (data) => {
  return request({
    url: '/api/beetles-offer/creative/confirm',
    method: 'put',
    data: data
  })
}

export const getList = (current, size, params,) =>{
  return request({
    url: '/api/beetles-offer/creative/confirm/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

export const getDetail = (creativeId) =>{
  return request({
    url:'/api/beetles-offer/creative/confirm/detail',
    method:'get',
    params:{
      creativeId
    }
  })
}
